#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
int main()
{
int ret_from_fork, mypid;
mypid = getpid();
printf("Before:%d\n",mypid);
ret_from_fork = fork();
sleep(1);
getpid();
printf("After:%d\n",getpid());
ret_from_fork;
}
